package com.etoak.service;

import com.etoak.common.core.vo.PageVo;
import com.etoak.entity.Ingredients;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author etoak
 * @since 2025-08-25
 */
public interface IngredientsService extends IService<Ingredients> {

    void add(Ingredients ingredients);

    List<Ingredients> getList(Ingredients ingredients);

    PageVo<Ingredients> getList(int pageNum,int pageSize,Ingredients ingredients);

    void updateIngredients(int id,Ingredients ingredients);

    void deleteIngredients(int id);
}
